package com.just.just_bankreputationsystem.Service.BankServiceImpl;

import com.just.just_bankreputationsystem.Mapper.UserMapper;
import com.just.just_bankreputationsystem.Model.User;
import com.just.just_bankreputationsystem.Service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUser(User user) {
        return userMapper.find(user);
    }
}
